package com.zlt.healthpass.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @program: HealthPass
 * @description: 核酸检测结果
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-07-15 11:15
 **/
@Component
public class NucleicAcidTest {

    //采样时间 timezone = "GMT+8"时区
    @JsonFormat(pattern="yyyy-MM-dd HH", locale = "zh", timezone = "GMT+8")
    @ApiModelProperty("采样时间")
    private Date samplingTime;
    //检测时间
    @JsonFormat(pattern="yyyy-MM-dd HH", locale = "zh", timezone = "GMT+8")
    @ApiModelProperty("检测时间")
    private Date testTime;
    //检测医院
    @ApiModelProperty("检测医院")
    private String testingHospital;
    //采样结果
    @ApiModelProperty("采样结果")
    private int result;

    public Date getSamplingTime() {
        return samplingTime;
    }

    public void setSamplingTime(Date samplingTime) {
        this.samplingTime = samplingTime;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public String getTestingHospital() {
        return testingHospital;
    }

    public void setTestingHospital(String testingHospital) {
        this.testingHospital = testingHospital;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }
}
